﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta charset="UTF-8">
	<title>{$name}┊{$site_name}</title>
    <meta http-equiv="Content-Language" content="ar-AE">
    <meta name="author" content="Powerless"> 
    <meta name="Copyright" content="{$site_seo_title}">
	<meta name="keywords" content="{$site_seo_keywords}" />
	<meta name="description" content="{$site_seo_description}">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">   
<link rel="icon" href="__TMPL__Public/images/favicon.ico" type="image/ico">
<link href="__TMPL__Public/style/base.css" rel="stylesheet" type="text/css">
<link href="__TMPL__Public/style/science.css" rel="stylesheet" type="text/css"/>
<script src="__TMPL__Public/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="__TMPL__Public/js/lunbo.js"></script>
<script type="text/javascript">
$(document).ready(function(){
 $("span.div").hide();
  $(".sis-li li").hover(function(){
  $("span.div",this).slideToggle(500);
 });

 $(".imgtext").hide();
 $(".zzsc").hover(function(){
  $(".imgtext",this).slideToggle(500);
 });
});
</script>
</script>
        <script type="text/javascript" language="javascript">  
        function nofind(){
        var img=event.srcElement;
        img.src="__TMPL__Public/images/no-img.jpg";
        img.onerror=null; 
        }
        </script>
</head>
</head>
<body>
<!--header navbg start-->
<div id="navbg">
	<ul>
		<li><a href="{:u('list/index',array('id'=>121))}">Новости торговли</a></li>
	</ul>
	<ul>
		<li><a href="{:u('list/index',array('id'=>122))}">Сотрудничество</a></li>
	</ul>
	<ul>
		<li><a href="{:u('list/index',array('id'=>123))}">Бизнес</a></li>
	</ul>
	<ul>
		<li><a href="{:u('list/index',array('id'=>124))}">Ресурсы</a></li>
	</ul>
	<ul>
		<li><a href="{:u('list/index',array('id'=>125))}">Мероприятия</a></li>
	</ul>
	<ul>
		<li><a href="{:u('list/index',array('id'=>126))}">Международные закупки</a></li>
	</ul>
</div>
<!--header navbg end-->
<!--member start-->
<div id="menberbg">
		<div class="leftimage">
			<ul>
				    <php>
            $темы_all=sp_sql_posts('cid:121;field:tid,smeta;limit:9;order:post_date desc');
            </php>
            <foreach name="темы_all" item="all">
                <php>
                $smeta=json_decode($all['smeta'],true);
                </php>
								<li>
									<a href="{:U('article/index',array('id'=>$all['tid']))}">
											<img onerror="nofind();"src="{$site_host}data/upload/{$smeta.thumb}" width="74" height="101" />
									</a>
								</li>
            </foreach>
            
			</ul>
		</div>
	
	
	<div class="righthdbg">
		
				    <php>
            $Интернет_all=sp_sql_posts('cid:122;field:tid,post_title;limit:6;order:post_date desc');
            </php>
            <foreach name="Интернет_all" item="all">
								<ul>
									<li><a href="{:U('article/index',array('id'=>$all['tid']))}">{$all.post_title}</a></li>
								</ul>
            </foreach>
	</div>
</div>
<!--member end-->
<!--Effect start-->
<div id="effectbg">
	<div class="leftgpictextbg">
		
			<php>
            $среды_all=sp_sql_posts('cid:123;field:tid,post_title,smeta;limit:2;order:post_date desc');
            </php>
            <foreach name="среды_all" item="all">
                <php>
                $smeta=json_decode($all['smeta'],true);
                </php>
							<div class="zzsc">
									<img onerror="nofind();"src="{$site_host}data/upload/{$smeta.thumb}" width="245" height="210">
								<div class="text">
									<div class="imgtext"><a href="{:U('article/index',array('id'=>$all['tid']))}">{$all.post_title}</a></div>
								</div>
							</div>
            </foreach>
	</div>
	<div class="middlenewsbg">
			<php>
            	$Люди_all=sp_sql_posts('cid:124;field:tid,post_title,smeta;limit:3;order:post_date desc');
            </php>
            <foreach name="Люди_all" item="all">
                <php>
                $smeta=json_decode($all['smeta'],true);
                </php>
                    <ul>
                        <div><img onerror="nofind();"src="{$site_host}data/upload/{$smeta.thumb}" width="129" height="97"></div>
                            <li><a href="{:U('article/index',array('id'=>$all['tid']))}">{$all.post_title}</a></li>
                    </ul>
            </foreach>
	</div>
	<div class="rightnewsbg">
		    <php>
        $техника_all=sp_sql_posts('cid:125;field:tid,post_title,smeta;limit:2;order:post_date desc');
        </php>
        <foreach name="техника_all" item="all">
            <php>
            	$smeta=json_decode($all['smeta'],true);
            </php>
						<span><a href="{:U('article/index',array('id'=>$all['tid']))}">
								<img onerror="nofind();"src="{$site_host}data/upload/{$smeta.thumb}" width="232" height="210px;">
						</a></span>
        </foreach>
	</div>
</div>
<!--Effect end-->
<!--Sliding_effect start-->
<div id="Sliding_effectbg">
	<div class="lefthdeffect">
		<ul class="sis-li">  
		    <li>
		        <span class="v1">
		        <php>
            	$Творчество_all=sp_sql_posts('cid:126;field:tid,post_title,post_excerpt,smeta;limit:1;order:post_date desc');
            </php>
            <foreach name="Творчество_all" item="all">
                <php>
                $smeta=json_decode($all['smeta'],true);
                </php>
		            <a href="{:U('article/index',array('id'=>$all['tid']))}">
		            	<img onerror="nofind();"src="{$site_host}data/upload/{$smeta.thumb}" width="480" height="330" />
		            </a>
		            <span class="div">
		                <h3><a href="{:U('article/index',array('id'=>$all['tid']))}">{$all.post_title}</a></h3>
		                <span class="txt"><a href="{:U('article/index',array('id'=>$all['tid']))}">{$all.post_excerpt}</a></span>
		            </span>
            </foreach>
		        </span>
		</li>
		</ul>
	</div>
	<div class="rightfourgpicbg">
		<div class="rightimgtext">
						<php>
            	$Энергия_all=sp_sql_posts('cid:121;field:tid,post_title,smeta;limit:6,4;order:post_date desc');
            </php>
            <foreach name="Энергия_all" item="all">
                <php>
                $smeta=json_decode($all['smeta'],true);
                </php>
								<ul>
									<div><img onerror="nofind();"src="{$site_host}data/upload/{$smeta.thumb}" width="227" height="130"></div>
									<li><a href="{:U('article/index',array('id'=>$all['tid']))}">{$all.post_title}</a></li>
								</ul>
            </foreach>
		</div>
	</div>
</div>
<!--Sliding_effect end-->
<!--newslistbg srart-->
<div id="newslistbg">
	<div class="newslispic">
		
						<php>
            	$Патент_all=sp_sql_posts('cid:122;field:tid,post_title,smeta;limit:2,6;order:post_date desc');
            </php>
            <foreach name="Патент_all" item="all">
                <php>
                $smeta=json_decode($all['smeta'],true);
                </php>
								<ul>
									<div><img onerror="nofind();"src="{$site_host}data/upload/{$smeta.thumb}" width="90" height="85"></div>
									<li><a href="{:U('article/index',array('id'=>$all['tid']))}">{$all.post_title}</a></li>
								</ul>
            </foreach>		
	</div>
	<div class="newslispic">
					<php>
          	$Политика_all=sp_sql_posts('cid:123;field:tid,post_title,smeta;limit:3,3;order:post_date desc');
          </php>
          <foreach name="Политика_all" item="all">
              <php>
              $smeta=json_decode($all['smeta'],true);
              </php>
							<ul>
								<div><img onerror="nofind();"src="{$site_host}data/upload/{$smeta.thumb}" width="90" height="85"></div>
								<li><a href="{:U('article/index',array('id'=>$all['tid']))}">{$all.post_title}</a></li>
							</ul>
          </foreach>	
	</div>
</div>
<!--newslistbg end-->
<!--jslunbo srart-->
<div class="focus_img">
  <div class="big_area">
    <div class="big_img" id="con_1"></div>
    <div class="titlebg"></div>
    <h3 id="h2title"></h3>
    <div id="intro" style="dispaly:none;"></div>
  </div>
  <div class="thurmb" id="con_2"></div>
</div>
<!--focus_img end-->
<script type="text/javascript"> 
	var focusImg= new FocusImg();
	focusImg.bigDiv="con_1";
	focusImg.smallDiv="con_2";
	focusImg.imgW=600;
	focusImg.imgH=400;
	focusImg.sTime=5000;
	focusImg.titleDiv="h2title";
	focusImg.introDiv="intro";
	
						<php>
            $Право_all=sp_sql_posts('cid:124;field:tid,post_title,post_excerpt,smeta;limit:2,4;order:post_date desc');
            </php>
            <foreach name="Право_all" item="all">
                <php>
                $smeta=json_decode($all['smeta'],true);
                </php>
								var s = {};
								s.bigimg="{$site_host}data/upload/{$smeta.thumb}";
								s.title="{$all.post_title}";
								s.intro="<span>{$all.post_excerpt}</span>";
								s.url="{:U('article/index',array('id'=>$all['tid']))}";
								focusImg.imgList.push(s);
            </foreach>
	 
	focusImg.init();
	focusImg.autoPlay();
</script>
<!--jslunbo end-->
<!--footernews start-->
<div id="footernewsbg">
					<php>
          	$Справочник_all=sp_sql_posts('cid:125;field:tid,post_title,smeta;limit:10,5;order:post_date desc');
          </php>
          <foreach name="Справочник_all" item="all">
              <php>
              $smeta=json_decode($all['smeta'],true);
              </php>
							<ul>
							    <span><img onerror="nofind();"src="{$site_host}data/upload/{$smeta.thumb}" width="180" height="175" /></span>
									<li><a href="{:U('article/index',array('id'=>$all['tid']))}">{$all.post_title}</a></li>
							</ul>
          </foreach>	
          
</div>
<!--footernews end-->
<!--footerbanner start-->
<div id="footerbannerbg">
	<ul>
					<php>
          	$Рекомендации_all=sp_sql_posts('cid:126;field:tid,smeta;limit:1,3;order:post_date desc');
          </php>
          <foreach name="Рекомендации_all" item="all">
              <php>
              $smeta=json_decode($all['smeta'],true);
              </php>
					<li><a href="{:U('article/index',array('id'=>$all['tid']))}">
							<img onerror="nofind();"src="{$site_host}data/upload/{$smeta.thumb}" width="315" height="96" />
					</a></li>
          </foreach>	
          
	</ul>
</div>
<!--footernbanner end-->

<include file="Public:footer" />
</body>
</html>
